home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 32 / Mac Magazin and MacEasy Magazine CD - Issue 32.iso / Grafik & Text / OzTeX3.0 / OzTeX3.0update Folder / amslatex / amsproc.cls < prev    next >
Text File  |  1997-04-01  |  44KB  |  1,210 lines

  1. %%
  2. %% This is file `amsproc.cls',
  3. %% generated with the docstrip utility.
  4. %%
  5. %% The original source files were:
  6. %%
  7. %% amsclass.dtx  (with options: `amsproc')
  8. %% 
  9. %%% ====================================================================
  10. %%%  @LaTeX-file{
  11. %%%     filename        = "amsclass.dtx",
  12. %%%     version         = "1.2r",
  13. %%%     date            = "1997/03/26",
  14. %%%     time            = "09:49:00 EST",
  15. %%%     checksum        = "12277 3427 13562 126088",
  16. %%%     author          = "American Mathematical Society",
  17. %%%     copyright       = "Copyright (C) 1996 American Mathematical Society,
  18. %%%                        all rights reserved.  Copying of this file is
  19. %%%                        authorized only if either:
  20. %%%                        (1) you make absolutely no changes to your copy,
  21. %%%                        including name; OR
  22. %%%                        (2) if you do make changes, you first rename it
  23. %%%                        to some other name.",
  24. %%%     address         = "American Mathematical Society,
  25. %%%                        Technical Support,
  26. %%%                        Electronic Products and Services,
  27. %%%                        P. O. Box 6248,
  28. %%%                        Providence, RI 02940,
  29. %%%                        USA",
  30. %%%     telephone       = "401-455-4080 or (in the USA and Canada)
  31. %%%                        800-321-4AMS (321-4267)",
  32. %%%     FAX             = "401-331-3842",
  33. %%%     email           = "tech-support@ams.org (Internet)",
  34. %%%     codetable       = "ISO/ASCII",
  35. %%%     keywords        = "latex, amslatex, ams-latex",
  36. %%%     supported       = "yes",
  37. %%%     abstract        = "This is part of the AMS-\LaTeX{} distribution.
  38. %%%                        It produces output conforming to the style
  39. %%%                        conventions of American Mathematical Society
  40. %%%                        publications.  The file \fn{amsclass.dtx} is
  41. %%%                        converted by the installation procedure
  42. %%%                        into three document classes:
  43. %%%                        \cls{amsart}, \cls{amsproc}, and \cls{amsbook},
  44. %%%                        which are intended, respectively,
  45. %%%                        for articles and books containing mathematical
  46. %%%                        research; both class files will also carry this
  47. %%%                        heading, and the particular class should be
  48. %%%                        determined from the external file name.",
  49. %%%     docstring       = "The checksum field above contains a CRC-16
  50. %%%                        checksum as the first value, followed by the
  51. %%%                        equivalent of the standard UNIX wc (word
  52. %%%                        count) utility output of lines, words, and
  53. %%%                        characters.  This is produced by Robert
  54. %%%                        Solovay's checksum utility.",
  55. %%%  }
  56. %%% ====================================================================
  57. \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX)
  58. [1994/12/01]% LaTeX date must December 1994 or later
  59. \ProvidesClass{amsproc}[1997/03/26 v1.2r]
  60. \def\@tempa#1#2\@nil{\edef\@classname{#1}}
  61. \expandafter\@tempa\@currnamestack{}{}{}\@nil
  62. \ifx\@classname\@empty \edef\@classname{\@currname}\fi
  63. \DeclareOption{a4paper}{\paperheight 297mm\paperwidth 210mm
  64.   \textheight 54.5pc }
  65. \DeclareOption{letterpaper}{\paperheight 11in\paperwidth 8.5in }
  66. \DeclareOption{landscape}{\@tempdima\paperheight
  67.   \paperheight\paperwidth \paperwidth\@tempdima}
  68. \DeclareOption{portrait}{}
  69. \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
  70. \DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
  71. \DeclareOption{draft}{\overfullrule5\p@ }
  72. \DeclareOption{final}{\overfullrule\z@ }
  73. \newif\if@titlepage
  74. \DeclareOption{titlepage}{\@titlepagetrue}
  75. \DeclareOption{notitlepage}{\@titlepagefalse}
  76. \newif\if@openright
  77. \DeclareOption{openright}{\@openrighttrue}
  78. \DeclareOption{openany}{\@openrightfalse}
  79. \DeclareOption{onecolumn}{\@twocolumnfalse}
  80. \DeclareOption{twocolumn}{\@twocolumntrue}
  81. \DeclareOption{nomath}{}
  82. \DeclareOption{noamsfonts}{}
  83. \DeclareOption{psamsfonts}{%
  84.   \PassOptionsToPackage{psamsfonts}{amsfonts}%
  85.   \PassOptionsToPackage{cmex10}{amsmath}}
  86. \newif\iftagsleft@
  87. \DeclareOption{leqno}{%
  88.   \tagsleft@true \PassOptionsToPackage{leqno}{amsmath}}
  89. \DeclareOption{reqno}{%
  90.   \tagsleft@false \PassOptionsToPackage{reqno}{amsmath}}
  91. \newif\ifctagsplit@
  92. \DeclareOption{centertags}{%
  93.   \ctagsplit@true \PassOptionsToPackage{centertags}{amsmath}}
  94. \DeclareOption{tbtags}{%
  95.   \ctagsplit@false \PassOptionsToPackage{tbtags}{amsmath}}
  96. \DeclareOption{fleqn}{%
  97.   \def\[{\relax
  98.     \ifmmode\@badmath
  99.     \else
  100.       \begin{trivlist}%
  101.       \@beginparpenalty\predisplaypenalty
  102.       \@endparpenalty\postdisplaypenalty
  103.       \item[]\leavevmode
  104.       \hbox to\linewidth\bgroup$\displaystyle
  105.       \hskip\mathindent\bgroup
  106.     \fi}%
  107.   \def\]{\relax
  108.     \ifmmode
  109.       \egroup \m@th$\hfil \egroup
  110.       \end{trivlist}%
  111.     \else \@badmath
  112.     \fi}%
  113.   \renewenvironment{equation}{%
  114.     \@beginparpenalty\predisplaypenalty
  115.     \@endparpenalty\postdisplaypenalty
  116.     \refstepcounter{equation}%
  117.     \@topsep\abovedisplayskip \trivlist
  118.     \item[]\leavevmode
  119.     \hbox to\linewidth\bgroup\hskip\mathindent$\displaystyle
  120.   }{%
  121.     \m@th$\hfil \displaywidth\linewidth \hbox{\@eqnnum}\egroup
  122.     \endtrivlist
  123.   }%
  124.   \renewenvironment{eqnarray}{%
  125.     \stepcounter{equation}\let\@currentlabel\theequation
  126.     \global\@eqnswtrue \global\@eqcnt\z@ \tabskip\mathindent
  127.     \let\\=\@eqncr \abovedisplayskip\topsep
  128.     \ifvmode \advance\abovedisplayskip\partopsep \fi
  129.     \belowdisplayskip\abovedisplayskip
  130.     \belowdisplayshortskip\abovedisplayskip
  131.     \abovedisplayshortskip\abovedisplayskip
  132.     $$\everycr{}\halign to\linewidth\bgroup
  133.       \hskip\@centering
  134.       $\displaystyle\tabskip\z@skip####\m@th$&%
  135.       \@eqnsel \global\@eqcnt\@ne
  136.       \hfil${}####{}\m@th$\hfil&%
  137.       \global\@eqcnt\tw@
  138.       $\displaystyle ####\m@th$\hfil\tabskip\@centering&%
  139.       \global\@eqcnt\thr@@
  140.       \hbox to \z@\bgroup\hss####\egroup\tabskip\z@skip\cr
  141.     }{%
  142.       \@@eqncr \egroup \global\advance\c@equation\m@ne$$%
  143.       \global\@ignoretrue
  144.     }%
  145.   \newdimen\mathindent \mathindent\leftmargini
  146. }
  147. \newcommand{\@mainsize}{10}
  148. \newcommand{\@ptsize}{0}
  149. \newcommand{\larger}[1][1]{%
  150.   \count@\@currsizeindex \advance\count@#1\relax
  151.   \ifnum\count@<\z@ \count@\z@ \else\ifnum\count@>12 \count@12 \fi\fi
  152.   \ifcase\count@
  153.     \Tiny\or\Tiny\or\tiny\or\SMALL\or\Small\or\small
  154.     \or\normalsize
  155.     \or\large\or\Large\or\LARGE\or\huge\or\Huge\else\Huge
  156.   \fi
  157. }
  158. \newcommand{\smaller}[1][1]{\larger[-#1]}
  159. \def\@adjustvertspacing{%
  160.   \bigskipamount.7\baselineskip plus.7\baselineskip
  161.   \medskipamount\bigskipamount \divide\medskipamount\tw@
  162.   \smallskipamount\medskipamount \divide\smallskipamount\tw@
  163.   \abovedisplayskip\medskipamount
  164.   \belowdisplayskip \abovedisplayskip
  165.   \abovedisplayshortskip\abovedisplayskip
  166.   \advance\abovedisplayshortskip-1\abovedisplayskip
  167.   \belowdisplayshortskip\abovedisplayshortskip
  168.   \advance\belowdisplayshortskip 1\smallskipamount
  169.   \jot\baselineskip \divide\jot 4 \relax
  170. }
  171. \renewcommand\normalsize{\@xsetfontsize\normalsize 6%
  172.   \@adjustvertspacing \let\@listi\@listI}
  173. \newcommand\Tiny{\@xsetfontsize\Tiny 1}
  174. \newcommand\tiny{\@xsetfontsize\tiny 2}
  175. \newcommand\SMALL{\@xsetfontsize\SMALL 3}
  176. \newcommand\Small{\@xsetfontsize\Small 4%
  177.   \@adjustvertspacing
  178.   \def\@listi{\topsep\smallskipamount \parsep\z@skip \itemsep\z@skip}}
  179. \newcommand\small{\@xsetfontsize\small 5\@adjustvertspacing}
  180. \def\footnotesize{\Small}
  181. \def\scriptsize{\SMALL}
  182. \newcommand\large{\@xsetfontsize\large 7\@adjustvertspacing}
  183. \newcommand\Large{\@xsetfontsize\Large 8\@adjustvertspacing}
  184. \newcommand\LARGE{\@xsetfontsize\LARGE 9}
  185. \newcommand\huge{\@xsetfontsize\huge{10}}
  186. \newcommand\Huge{\@xsetfontsize\Huge{11}}
  187. \def\@xsetfontsize#1#2{%
  188.   \chardef\@currsizeindex#2\relax
  189.   \edef\@tempa{\@nx\@setfontsize\@nx#1%
  190.     \@xp\ifcase\@xp\@currsizeindex\@typesizes
  191.       \else{99}{99}\fi}%
  192.   \@tempa
  193. }
  194. \chardef\@currsizeindex=6
  195. \widowpenalty=10000
  196. \clubpenalty=10000
  197. \brokenpenalty=10000
  198. \newdimen\linespacing
  199. \lineskip=1pt \lineskiplimit=1pt
  200. \normallineskip=1pt \normallineskiplimit=1pt
  201. \let\baselinestretch=\@empty
  202. \headheight=5pt \headsep=14pt
  203. \footskip=12pt
  204. \textheight=50.5pc \topskip=10pt
  205. \textwidth=30pc
  206. \columnsep=10pt \columnseprule=0pt
  207. \marginparwidth=90pt
  208. \marginparsep=11pt
  209. \marginparpush=5pt
  210. \AtBeginDocument{\settoheight{\footnotesep}{\footnotesize M$^1$}}
  211. \skip\footins=7pt plus11pt
  212. \skip\@mpfootins=\skip\footins
  213. \fboxsep=3pt \fboxrule=.4pt
  214. \arrayrulewidth=.4pt    \doublerulesep=2pt
  215. \labelsep=5pt           \arraycolsep=\labelsep
  216. \tabcolsep=\labelsep    \tabbingsep=\labelsep
  217. \floatsep=15pt plus 12pt    \dblfloatsep=15pt plus 12pt
  218. \textfloatsep=\floatsep  \dbltextfloatsep=15pt plus 12pt
  219. \intextsep=\floatsep
  220. \@fptop=0pt plus1fil     \@dblfptop=0pt plus1fil
  221. \@fpbot=0pt plus1fil     \@dblfpbot=0pt plus1fil
  222. \@fpsep=8pt plus2fil     \@dblfpsep=8pt plus2fil\relax
  223. \parskip=0pt \relax
  224. \newdimen\normalparindent
  225. \normalparindent=18pt
  226. \parindent=\normalparindent
  227. \partopsep=0pt \relax \parsep=0pt \relax \itemsep=0pt \relax
  228. \@lowpenalty=51         \@medpenalty=151        \@highpenalty=301
  229. \@beginparpenalty=-\@lowpenalty
  230. \@endparpenalty=-\@lowpenalty
  231. \@itempenalty=-\@lowpenalty
  232. \DeclareOption{10pt}{\def\@mainsize{10}\def\@ptsize{0}%
  233.   \def\@typesizes{%
  234.     \or{5}{6}\or{6}{7}\or{7}{8}\or{8}{10}\or{9}{11}%
  235.     \or{10}{12}% normalsize
  236.     \or{\@xipt}{13}\or{\@xiipt}{14}\or{\@xivpt}{17}%
  237.     \or{\@xviipt}{20}\or{\@xxpt}{24}}%
  238.   \normalsize \linespacing=\baselineskip
  239. }
  240. \DeclareOption{11pt}{\def\@mainsize{11}\def\@ptsize{1}%
  241.   \def\@typesizes{%
  242.     \or{6}{7}\or{7}{8}\or{8}{10}\or{9}{11}\or{10}{12}%
  243.     \or{\@xipt}{13}% normalsize
  244.     \or{\@xiipt}{14}\or{\@xivpt}{17}\or{\@xviipt}{20}%
  245.     \or{\@xxpt}{24}\or{\@xxvpt}{30}}%
  246.   \normalsize \linespacing=\baselineskip
  247. }
  248. \DeclareOption{12pt}{\def\@mainsize{12}\def\@ptsize{2}%
  249.   \def\@typesizes{%
  250.     \or{7}{8}\or{8}{10}\or{9}{11}\or{10}{12}\or{\@xipt}{13}%
  251.     \or{\@xiipt}{14}% normalsize
  252.     \or{\@xivpt}{17}\or{\@xviipt}{20}\or{\@xxpt}{24}%
  253.     \or{\@xxvpt}{30}\or{\@xxvpt}{30}}%
  254.   \normalsize \linespacing=\baselineskip
  255. }
  256. \DeclareOption{8pt}{\def\@mainsize{8}\def\@ptsize{8}%
  257.   \def\@typesizes{%
  258.     \or{5}{6}\or{5}{6}\or{5}{6}\or{6}{7}\or{7}{8}%
  259.     \or{8}{10}% normalsize
  260.     \or{9}{11}\or{10}{12}\or{\@xipt}{13}%
  261.     \or{\@xiipt}{14}\or{\@xivpt}{17}}%
  262.   \normalsize \linespacing=\baselineskip
  263. }
  264. \DeclareOption{9pt}{\def\@mainsize{9}\def\@ptsize{9}%
  265.   \def\@typesizes{%
  266.     \or{5}{6}\or{5}{6}\or{6}{7}\or{7}{8}\or{8}{10}%
  267.     \or{9}{11}% normalsize
  268.     \or{10}{12}\or{\@xipt}{13}\or{\@xiipt}{14}%
  269.     \or{\@xivpt}{17}\or{\@xviipt}{20}}%
  270.   \normalsize \linespacing=\baselineskip
  271. }
  272. \def\ps@empty{\let\@mkboth\@gobbletwo
  273.   \let\@oddhead\@empty \let\@evenhead\@empty
  274.   \let\@oddfoot\@empty \let\@evenfoot\@empty
  275.   \global\topskip\normaltopskip}
  276. \def\ps@plain{\ps@empty
  277.   \def\@oddfoot{\normalfont\scriptsize \hfil\thepage\hfil}%
  278.   \let\@evenfoot\@oddfoot}
  279. \def\ps@headings{\ps@empty
  280.   \def\@evenhead{\normalfont\scriptsize
  281.       \rlap{\thepage}\hfil \leftmark{}{}\hfil}%
  282.   \def\@oddhead{\normalfont\scriptsize \hfil
  283.       \rightmark{}{}\hfil \llap{\thepage}}%
  284.   \let\@mkboth\markboth
  285. }
  286. \let\sectionname\@empty
  287. \let\subsectionname\@empty
  288. \let\subsubsectionname\@empty
  289. \let\paragraphname\@empty
  290. \let\subparagraphname\@empty
  291. \def\leftmark{\expandafter\@firstoftwo\topmark{}{}}
  292. \def\rightmark{\expandafter\@secondoftwo\botmark{}{}}
  293. \def\ps@firstpage{\ps@plain
  294.   \def\@oddfoot{\normalfont\scriptsize \hfil\thepage\hfil
  295.      \global\topskip\normaltopskip}%
  296.   \let\@evenfoot\@oddfoot
  297.   \def\@oddhead{\@serieslogo\hss}%
  298.   \let\@evenhead\@oddhead % in case an article starts on a left-hand page
  299. }
  300. \long\def\@nilgobble#1\@nil{}
  301. \def\markboth#1#2{%
  302.   \begingroup
  303.     \@temptokena{{#1}{#2}}\xdef\@themark{\the\@temptokena}%
  304.     \mark{\the\@temptokena}%
  305.   \endgroup
  306.   \if@nobreak\ifvmode\nobreak\fi\fi}
  307. \def\ps@myheadings{\ps@headings \let\@mkboth\@gobbletwo}
  308. \newskip\normaltopskip
  309. \normaltopskip=10pt \relax
  310. \let\sectionmark\@gobble
  311. \let\subsectionmark\@gobble
  312. \let\subsubsectionmark\@gobble
  313. \let\paragraphmark\@gobble
  314.  
  315. \DeclareOption{makeidx}{}
  316. \input{amsgen.sty}
  317. \ExecuteOptions{leqno,centertags,letterpaper,portrait,%
  318.   10pt,twoside,onecolumn,final}
  319. \ProcessOptions\relax
  320. \if@compatibility
  321.   \def\@tempa{\RequirePackage{amstex}\relax}
  322. \else
  323.   \@ifclasswith{\@classname}{nomath}{%
  324.     \let\@tempa\relax
  325.   }{%
  326.     \def\@tempa{\RequirePackage{amsmath}\relax}%
  327.   }%
  328. \fi
  329. \@tempa % load amstex.sty or amsmath.sty
  330. \providecommand\numberwithin[2]{%
  331.   \@ifundefined{c@#1}{\@nocounterr{#1}}{%
  332.     \@ifundefined{c@#2}{\@nocounterr{#2}}{%
  333.     \@addtoreset{#1}{#2}%
  334.     \toks@\@xp\@xp\@xp{\csname the#1\endcsname}%
  335.     \@xp\xdef\csname the#1\endcsname
  336.       {\@xp\@nx\csname the#2\endcsname
  337.        .\the\toks@}}}}
  338. \if@compatibility
  339. \else
  340.   \@ifclasswith{\@classname}{noamsfonts}{%
  341.     % amsfonts package is not wanted
  342.   }{%
  343.     % amsfonts package IS wanted; test whether a recent enough version
  344.     % seems to be installed
  345.     \begingroup \fontencoding{U}\fontfamily{msa}\try@load@fontshape\endgroup
  346.     \global\@xp\let\csname U+msa\endcsname\relax % reset
  347.     \@ifundefined{U/msa/m/n}{%
  348.       \ClassError{\@classname}{%
  349.   Package `amsfonts' not installed, or version too old?\MessageBreak
  350.   Unable to get font info for the `msam' fonts in the expected form%
  351.       }{%
  352.   The amsfonts package will not be loaded, to avoid probable\MessageBreak
  353.   incompatibility problems. You can (a) use the `noamsfonts'
  354.       documentclass\MessageBreak
  355.   option next time, or (b) check that the amsfonts package is
  356.       installed\MessageBreak
  357.   correctly, and is not too old to be compatible.%
  358.       }%
  359.     }{%
  360.       \RequirePackage{amsfonts}[1995/01/01]\relax
  361.     }%
  362.   }
  363. \fi % end yesamsfonts branch
  364. \newcommand{\uppercasenonmath}[1]{\toks@\@emptytoks
  365.   \@xp\@skipmath\@xp\@empty#1$$%
  366.   \edef#1{\@nx\@upprep\the\toks@}%
  367. }
  368. \newcommand{\@upprep}{%
  369.   \spaceskip1.3\fontdimen2\font plus1.3\fontdimen3\font
  370.   \upchars@}
  371. \newcommand{\upchars@}{%
  372.   \def\ss{SS}\def\i{I}\def\j{J}\def\ae{\AE}\def\oe{\OE}%
  373.   \def\o{\O}\def\aa{\AA}\def\l{\L}\def\Mc{M{\scshape c}}}
  374. \newcommand{\@skipmath}{}
  375. \long\def\@skipmath#1$#2${%
  376.   \@xskipmath#1\(\)%
  377.   \@ifnotempty{#2}{\toks@\@xp{\the\toks@$#2$}\@skipmath\@empty}}%
  378. \newcommand{\@xskipmath}{}
  379. \long\def\@xskipmath#1\(#2\){%
  380.   \uppercase{\toks@\@xp\@xp\@xp{\@xp\the\@xp\toks@#1}}%
  381.   \@ifnotempty{#2}{\toks@\@xp{\the\toks@\(#2\)}\@xskipmath\@empty}}%
  382. \newcommand{\today}{%
  383.   \relax\ifcase\month\or
  384.   January\or February\or March\or April\or May\or June\or
  385.   July\or August\or September\or October\or November\or December\fi
  386.   \space\number\day, \number\year}
  387. \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
  388. \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
  389. \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
  390. \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
  391. \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
  392. \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
  393. \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
  394. \renewcommand*{\title}[2][]{\gdef\shorttitle{#1}\gdef\@title{#2}}
  395. \edef\title{\@nx\@dblarg
  396.   \@xp\@nx\csname\string\title\endcsname}
  397. \renewcommand{\author}[2][]{%
  398.   \ifx\@empty\authors
  399.     \gdef\shortauthors{#1}\gdef\authors{#2}%
  400.   \else
  401.     \g@addto@macro\shortauthors{\and#1}%
  402.     \g@addto@macro\authors{\and#2}%
  403.     \g@addto@macro\addresses{\author{}}%
  404.   \fi
  405. }
  406. \edef\author{\@nx\@dblarg
  407.   \@xp\@nx\csname\string\author\endcsname}
  408. \let\shortauthors\@empty   \let\authors\@empty
  409. \let\addresses\@empty      \let\thankses\@empty
  410. \newcommand{\address}[2][]{\g@addto@macro\addresses{\address{#1}{#2}}}
  411. \newcommand{\curraddr}[2][]{\g@addto@macro\addresses{\curraddr{#1}{#2}}}
  412. \newcommand{\email}[2][]{\g@addto@macro\addresses{\email{#1}{#2}}}
  413. \newcommand{\urladdr}[2][]{\g@addto@macro\addresses{\urladdr{#1}{#2}}}
  414. \renewcommand{\thanks}[1]{\g@addto@macro\thankses{\thanks{#1}}}
  415. \def\enddoc@text{\ifx\@empty\@translators \else\@settranslators\fi
  416.   \ifx\@empty\addresses \else\@setaddresses\fi}
  417. \AtEndDocument{\enddoc@text}
  418. \def\@setaddresses{\par
  419.   \nobreak \begingroup
  420. \footnotesize
  421.   \def\author##1{\nobreak\addvspace\bigskipamount}%
  422.   \def\\{\unskip, \ignorespaces}%
  423.   \interlinepenalty\@M
  424.   \def\address##1##2{\begingroup
  425.     \par\addvspace\bigskipamount\indent
  426.     \@ifnotempty{##1}{(\ignorespaces##1\unskip) }%
  427.     {\scshape\ignorespaces##2}\par\endgroup}%
  428.   \def\curraddr##1##2{\begingroup
  429.     \@ifnotempty{##2}{\nobreak\indent{\itshape Current address}%
  430.       \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
  431.       ##2\par\endgroup}}%
  432.   \def\email##1##2{\begingroup
  433.     \@ifnotempty{##2}{\nobreak\indent{\itshape E-mail address}%
  434.       \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
  435.       \ttfamily##2\par\endgroup}}%
  436.   \def\urladdr##1##2{\begingroup
  437.     \@ifnotempty{##2}{\nobreak\indent{\itshape URL}%
  438.       \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
  439.       \ttfamily##2\par\endgroup}}%
  440.   \addresses
  441.   \endgroup
  442. }
  443. \let\@date\@empty
  444. \def\dedicatory#1{\def\@dedicatory{#1}}
  445. \let\@dedicatory=\@empty
  446. \def\keywords#1{\def\@keywords{#1}}
  447. \let\@keywords=\@empty
  448. \def\subjclass#1{\def\@subjclass{#1}}
  449. \let\@subjclass=\@empty
  450. \def\translator#1{%
  451.   \ifx\@empty\@translators \def\@translators{#1}%
  452.   \else\g@addto@macro\@translators{\and#1}\fi}
  453. \let\@translators=\@empty
  454. \def\@settranslators{\par\begingroup
  455.   \addvspace{6\p@\@plus9\p@}%
  456.   \hbox to\columnwidth{\hss\normalfont\normalsize
  457.     Translated by %
  458.     \andify\@translators \uppercasenonmath\@translators
  459.     \@translators}
  460.   \endgroup
  461. }
  462. \newcommand{\xandlist}[4]{\@andlista{{#1}{#2}{#3}}#4\and\and}
  463. \def\@andlista#1#2\and#3\and{\@andlistc{#2}\@ifnotempty{#3}{%
  464.   \@andlistb#1{#3}}}
  465. \def\@andlistb#1#2#3#4#5\and{%
  466.   \@ifempty{#5}{%
  467.     \@andlistc{#2#4}%
  468.   }{%
  469.     \@andlistc{#1#4}\@andlistb{#1}{#3}{#3}{#5}%
  470.   }}
  471. \let\@andlistc\@iden
  472. \newcommand{\nxandlist}[4]{%
  473.   \def\@andlistc##1{\toks@\@xp{\the\toks@##1}}%
  474.   \toks@{\toks@\@emptytoks \@andlista{{#1}{#2}{#3}}}%
  475.   \the\@xp\toks@#4\and\and
  476.   \edef#4{\the\toks@}%
  477.   \let\@andlistc\@iden}
  478. \newcommand{\andify}{%
  479.   \nxandlist{\unskip, }{\unskip{} and~}{\unskip, and~}}
  480. \def\and{\unskip{ }and \ignorespaces}
  481. \def\maketitle{\par
  482.   \@topnum\z@ % this prevents figures from falling at the top of page 1
  483.   \@setcopyright
  484.   \uppercasenonmath\shorttitle
  485.   \ifx\@empty\shortauthors \let\shortauthors\shorttitle
  486.   \else \andify\shortauthors \uppercasenonmath\shortauthors \fi
  487.   \@maketitle@hook
  488.   \begingroup
  489.   \@maketitle
  490.   \toks@\@xp{\shortauthors}\@temptokena\@xp{\shorttitle}%
  491.   \edef\@tempa{\@nx\markboth{\the\toks@}{\the\@temptokena}}\@tempa
  492.   \endgroup
  493.   \thispagestyle{firstpage}% this sets first page specifications
  494.   \c@footnote\z@
  495.   \def\do##1{\let##1\relax}%
  496.   \do\maketitle \do\@maketitle \do\title \do\@xtitle \do\@title
  497.   \do\author \do\@xauthor \do\address \do\@xaddress
  498.   \do\email \do\@xemail \do\curraddr \do\@xcurraddr
  499.   \do\dedicatory \do\@dedicatory \do\thanks \do\thankses
  500.   \do\keywords \do\@keywords \do\subjclass \do\@subjclass
  501. }
  502. \def\@maketitle@hook{\global\let\@maketitle@hook\@empty}
  503. \def\@maketitle{%
  504.   \normalfont\normalsize
  505.   \let\@makefnmark\relax  \let\@thefnmark\relax
  506.   \ifx\@empty\@subjclass\else \@footnotetext{\@setsubjclass}\fi
  507.   \ifx\@empty\@keywords\else \@footnotetext{\@setkeywords}\fi
  508.   \ifx\@empty\thankses\else \@footnotetext{%
  509.     \def\par{\let\par\@par}\@setthanks}\fi
  510.   \@mkboth{\@nx\shortauthors}{\@nx\shorttitle}%
  511.   \global\topskip8pc\relax % 10pc to base of first title line
  512.   \@settitle
  513.   \ifx\@empty\authors \else \@setauthors \fi
  514.   \ifx\@empty\@dedicatory
  515.   \else
  516.     \baselineskip26\p@
  517.     \vtop{\centering{\footnotesize\itshape\@dedicatory\@@par}%
  518.       \global\dimen@i\prevdepth}\prevdepth\dimen@i
  519.   \fi
  520.   \@setabstract
  521.   \normalsize
  522.   \if@titlepage
  523.     \newpage
  524.   \else
  525.     \dimen@34\p@ \advance\dimen@-\baselineskip
  526.     \vskip\dimen@\relax
  527.   \fi
  528. } % end \@maketitle
  529. \AtBeginDocument{%
  530.   \@ifundefined{publname}{%
  531.     \let\publname\@empty
  532.     \let\@serieslogo\@empty
  533.   }{%
  534.     \def\@serieslogo{%
  535.       \vbox to\headheight{%
  536.         \parindent\z@ \fontsize{6}{7\p@}\selectfont
  537.         \noindent\publname\newline
  538.         \volinfo\endgraf
  539.         \vss
  540.       }%
  541.     }%
  542.   }%
  543. }
  544. \@ifundefined{volinfo}{\let\volinfo\@empty}{}
  545. \def\issueinfo#1#2#3#4{\def\currentvolume{#1}\def\currentissue{#2}%
  546.   \def\currentmonth{#3}\def\currentyear{#4}}
  547. \issueinfo{00}% volume number
  548.   {0}%        % issue number
  549.   {Xxxx}%     % month
  550.   {XXXX}%     % year
  551. \def\copyrightinfo#1#2{\def\copyrightyear{#1}\def\copyrightholder{#2}}
  552. \copyrightinfo{0000}{(copyright holder)}
  553. \def\pagespan#1#2{\setcounter{page}{#1}%
  554.   \ifnum\c@page<\z@ \pagenumbering{roman}\setcounter{page}{-#1}\fi
  555.   \def\start@page{#1}\def\end@page{#2}}
  556. \pagespan{000}{000}
  557. \newinsert\copyins
  558. \skip\copyins=1.5pc
  559. \count\copyins=1000 % magnification factor, 1000 = 100%
  560. \dimen\copyins=.5\textheight % maximum allowed per page
  561. \def\@setcopyright{%
  562.   \ifx\@empty\@serieslogo
  563.   \else\ifx\@empty\copyrightyear
  564.   \else
  565.     \insert\copyins{\hsize\textwidth
  566.       \parfillskip\z@ \leftskip\z@\@plus.9\textwidth
  567.       \fontsize{6}{7\p@}\normalfont\upshape
  568.       \everypar{}%
  569.       \vskip-\skip\copyins \nointerlineskip
  570.       \noindent\vrule\@width\z@\@height\skip\copyins
  571.       \copyright\copyrightyear\ \copyrightholder
  572.       \par
  573.       \kern\z@}%
  574.   \fi\fi
  575. }
  576. \def\@combinefloats{%
  577.   \ifx \@toplist\@empty \else \@cflt \fi
  578.   \ifx \@botlist\@empty \else \@cflb \fi
  579.   \ifvoid\copyins \else \@cflci \fi
  580. }
  581. \def\@cflci{%
  582.   \if\if@twocolumn \if@firstcolumn F\else T\fi\else T\fi T%
  583.       \setbox\@outputbox\vbox{%
  584.         \unvbox\@outputbox
  585.         \vskip\skip\copyins
  586.         \hbox to\columnwidth{%
  587.           \hss\vbox to\z@{\vss\unvbox\copyins}}}%
  588.   \fi
  589. }
  590. \newcommand{\abstractname}{Abstract}
  591. \newcommand{\keywordsname}{Key words and phrases}
  592. \newcommand{\subjclassname}{\textup{1991} Mathematics Subject
  593.      Classification}
  594. \def\@tempb{amsproc}
  595. \ifx\@classname\@tempb
  596.   \newcommand{\datename}{\textit{Date}:}
  597. \else
  598.   \newcommand{\datename}{Received by the editors}
  599. \fi
  600. \def\@settitle{\begin{center}%
  601.  \Large
  602.     \bfseries
  603.   \@title
  604.   \end{center}%
  605. }
  606. \def\@setauthors{%
  607.   \begingroup
  608.   \trivlist
  609.   \centering \fontsize{11}{13\p@}\selectfont\@topsep13\p@\relax
  610.   \item\relax
  611.   \andify\authors
  612.   \authors
  613.   \endtrivlist
  614.   \endgroup
  615. }
  616. \def\@setdate{\datename\ \@date\@addpunct.}
  617. \def\@setsubjclass{%
  618.   {\itshape\subjclassname.}\enspace\@subjclass\@addpunct.}
  619. \def\@setkeywords{%
  620.   {\itshape \keywordsname.}\enspace \@keywords\@addpunct.}
  621. \def\@setthanks{\def\thanks##1{\par##1\@addpunct.}\thankses}
  622. \newbox\abstractbox
  623. \newenvironment{abstract}{%
  624.   \ifx\maketitle\relax
  625.     \ClassWarning{\@classname}{Abstract should precede
  626.       \protect\maketitle\space in AMS documentclasses; reported}%
  627.   \fi
  628.   \global\setbox\abstractbox=\vtop \bgroup
  629.   \normalfont\Small
  630.   \Small
  631.   \list{}{\labelwidth\z@
  632.     \leftmargin3pc \rightmargin\leftmargin
  633.     \listparindent\normalparindent \itemindent\z@
  634.     \parsep\z@ \@plus\p@
  635.     \let\fullwidthdisplay\relax
  636.     }%
  637.   \item[\hskip\labelsep\scshape\abstractname.]%
  638. }{%
  639.   \endlist\egroup
  640.   \ifx\@setabstract\relax \@setabstracta \fi
  641. }
  642. \def\@setabstract{\@setabstracta \global\let\@setabstract\relax}
  643. \def\@setabstracta{%
  644.   \ifvoid\abstractbox
  645.   \else
  646.     \skip@20\p@ \advance\skip@-\lastskip
  647.     \advance\skip@-\baselineskip \vskip\skip@
  648.     \box\abstractbox
  649.     \prevdepth\z@ % because \abstractbox is a vtop
  650.   \fi
  651. }
  652. \def\titlepage{%
  653.   \clearpage
  654.   \thispagestyle{empty}\setcounter{page}{0}}
  655. \def\endtitlepage{\newpage}
  656. \def\labelenumi{\theenumi.}
  657. \def\theenumi{\@arabic\c@enumi}
  658. \def\labelenumii{(\theenumii)}
  659. \def\theenumii{\@alph\c@enumii}
  660. \def\p@enumii{\theenumi}
  661. \def\labelenumiii{(\theenumiii)}
  662. \def\theenumiii{\@roman\c@enumiii}
  663. \def\p@enumiii{\theenumi(\theenumii)}
  664. \def\labelenumiv{(\theenumiv)}
  665. \def\theenumiv{\@Alph\c@enumiv}
  666. \def\p@enumiv{\p@enumiii\theenumiii}
  667. \def\labelitemi{$\m@th\bullet$}
  668. \def\labelitemii{\bfseries --}% \upshape already done by \itemize
  669. \def\labelitemiii{$\m@th\ast$}
  670. \def\labelitemiv{$\m@th\cdot$}
  671. \newenvironment{verse}{\let\\\@centercr
  672.   \list{}{\itemsep\z@ \itemindent -1.5em\listparindent\itemindent
  673.   \rightmargin\leftmargin \advance\leftmargin 1.5em}\item[]%
  674. }{%
  675.   \endlist
  676. }
  677. \let\endverse=\endlist % for efficiency
  678. \newenvironment{quotation}{\list{}{%
  679.     \leftmargin3pc \listparindent\normalparindent
  680.     \itemindent\z@
  681.     \rightmargin\leftmargin \parsep\z@ \@plus\p@}%
  682.   \item[]%
  683. }{%
  684.   \endlist
  685. }
  686. \let\endquotation=\endlist % for efficiency
  687. \newenvironment{quote}{%
  688.   \list{}{\rightmargin\leftmargin}\item[]%
  689. }{%
  690.   \endlist
  691. }
  692. \let\endquote=\endlist % for efficiency
  693. \def\trivlist{\parsep\parskip\@nmbrlistfalse
  694.   \@trivlist \labelwidth\z@ \leftmargin\z@
  695.   \itemindent\z@
  696.   \let\@itemlabel\@empty
  697.   \def\makelabel##1{\upshape##1}}
  698. \renewenvironment{enumerate}{%
  699.   \ifnum \@enumdepth >3 \@toodeep\else
  700.       \advance\@enumdepth \@ne
  701.       \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list
  702.       {\csname label\@enumctr\endcsname}{\usecounter
  703.         {\@enumctr}\def\makelabel##1{\hss\llap{\upshape##1}}}\fi
  704. }{%
  705.   \endlist
  706. }
  707. \let\endenumerate=\endlist % for efficiency
  708. \renewenvironment{itemize}{%
  709.   \ifnum\@itemdepth>3 \@toodeep
  710.   \else \advance\@itemdepth\@ne
  711.     \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
  712.     \list{\csname\@itemitem\endcsname}%
  713.       {\def\makelabel##1{\hss\llap{\upshape##1}}}%
  714.   \fi
  715. }{%
  716.   \endlist
  717. }
  718. \let\enditemize=\endlist % for efficiency
  719. \newcommand{\descriptionlabel}[1]{\hspace\labelsep \upshape\bfseries #1:}
  720. \newenvironment{description}{\list{}{%
  721.   \advance\leftmargini6\p@ \itemindent-12\p@
  722.   \labelwidth\z@ \let\makelabel\descriptionlabel}%
  723. }{
  724.   \endlist
  725. }
  726. \let\enddescription=\endlist % for efficiency
  727. \let\upn=\textup
  728. \AtBeginDocument{%
  729.   \settowidth\leftmargini{\labelenumi\hskip\labelsep}%
  730.   \advance\leftmargini by \normalparindent
  731.   \settowidth\leftmarginii{\labelenumii\hskip\labelsep}%
  732.   \advance\leftmarginii by 15pt
  733.   \settowidth\leftmarginiii{\labelenumiii\hskip\labelsep}%
  734.   \advance\leftmarginiii by 12pt
  735.   \settowidth\leftmarginiv{\labelenumiv\hskip\labelsep}%
  736.   \advance\leftmarginiv by 10pt
  737.   \leftmarginv=10pt
  738.   \leftmarginvi=10pt
  739.   \leftmargin=\leftmargini
  740.   \labelsep=5pt
  741.   \labelwidth=\leftmargini \advance\labelwidth-\labelsep
  742.   \@listi}
  743. \newskip\listisep
  744. \listisep\smallskipamount
  745. \def\@listI{\leftmargin\leftmargini \parsep\z@skip
  746.   \topsep\listisep \itemsep\z@skip
  747.   \listparindent\normalparindent}
  748. \let\@listi\@listI
  749. \def\@listii{\leftmargin\leftmarginii
  750.   \labelwidth\leftmarginii \advance\labelwidth-\labelsep
  751.   \topsep\z@skip \parsep\z@skip \partopsep\z@skip \itemsep\z@skip}
  752. \def\@listiii{\leftmargin\leftmarginiii
  753.   \labelwidth\leftmarginiii \advance\labelwidth-\labelsep}
  754. \def\@listiv{\leftmargin\leftmarginiv
  755.   \labelwidth\leftmarginiv \advance\labelwidth-\labelsep}
  756. \def\@listv{\leftmargin\leftmarginv
  757.   \labelwidth\leftmarginv \advance\labelwidth-\labelsep}
  758. \def\@listvi{\leftmargin\leftmarginvi
  759.   \labelwidth\leftmarginvi \advance\labelwidth-\labelsep}
  760. \def\@startsection#1#2#3#4#5#6{%
  761.  \if@noskipsec \leavevmode \fi
  762.  \par \@tempskipa #4\relax
  763.  \@afterindenttrue
  764.  \ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \@afterindentfalse\fi
  765.  \if@nobreak \everypar{}\else
  766.      \addpenalty\@secpenalty\addvspace\@tempskipa\fi
  767.  \@ifstar{\@dblarg{\@sect{#1}{\@m}{#3}{#4}{#5}{#6}}}%
  768.          {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}%
  769. }
  770. \def\@sect#1#2#3#4#5#6[#7]#8{%
  771.   \edef\@toclevel{\ifnum#2=\@m 0\else\number#2\fi}%
  772.   \ifnum #2>\c@secnumdepth \let\@secnumber\@empty
  773.   \else \@xp\let\@xp\@secnumber\csname the#1\endcsname\fi
  774.  \ifnum #2>\c@secnumdepth
  775.    \let\@svsec\@empty
  776.  \else
  777.     \refstepcounter{#1}%
  778.     \edef\@svsec{\ifnum#2<\@m
  779.        \@ifundefined{#1name}{}{%
  780.          \ignorespaces\csname #1name\endcsname\space}\fi
  781.        \@nx\textup{%
  782.          \csname the#1\endcsname.}\enspace
  783.     }%
  784.   \fi
  785.   \@tempskipa #5\relax
  786.   \ifdim \@tempskipa>\z@ % then this is not a run-in section heading
  787.     \begingroup #6\relax
  788.     \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty\@M #8\par}%
  789.     \endgroup
  790.     \ifnum#2>\@m \else \@tocwrite{#1}{#8}\fi
  791.   \else
  792.   \def\@svsechd{#6\hskip #3\@svsec
  793.     \@ifnotempty{#8}{\ignorespaces#8\unskip
  794.        \@addpunct.}%
  795.     \ifnum#2>\@m \else \@tocwrite{#1}{#8}\fi
  796.   }%
  797.   \fi
  798.   \global\@nobreaktrue
  799.   \@xsect{#5}}
  800. \let\@ssect\relax
  801. \newcounter{part}
  802. \newcounter{section}
  803. \newcounter{subsection}[section]
  804. \newcounter{subsubsection}[subsection]
  805. \newcounter{paragraph}[subsubsection]
  806. \renewcommand\thepart          {\arabic{part}}
  807. \renewcommand\thesection       {\arabic{section}}
  808. \renewcommand\thesubsection    {\thesection.\arabic{subsection}}
  809. \renewcommand\thesubsubsection {\thesubsection .\arabic{subsubsection}}
  810. \renewcommand\theparagraph     {\thesubsubsection.\arabic{paragraph}}
  811. \setcounter{secnumdepth}{3}
  812. \def\partname{Part}
  813. \def\part{\@startsection{part}{0}%
  814.   \z@{\linespacing\@plus\linespacing}{.5\linespacing}%
  815.   {\normalfont\bfseries\raggedright}}
  816. \def\specialsection{\@startsection{section}{1}%
  817.   \z@{2\linespacing\@plus\linespacing}{.5\linespacing}%
  818.   {\large\scshape\centering}}
  819. \def\section{\@startsection{section}{1}%
  820.   \z@{.7\linespacing\@plus\linespacing}{.5\linespacing}%
  821.   {\normalfont\bfseries\centering}}
  822. \def\subsection{\@startsection{subsection}{2}%
  823.   \normalparindent{.5\linespacing\@plus.7\linespacing}{-.5em}%
  824.   {\normalfont\bfseries}}
  825. \def\subsubsection{\@startsection{subsubsection}{3}%
  826.   \normalparindent\z@{-.5em}%
  827.   {\normalfont\itshape}}
  828. \def\paragraph{\@startsection{paragraph}{4}%
  829.   \normalparindent\z@{-\fontdimen2\font}%
  830.   \normalfont}
  831. \def\subparagraph{\@startsection{subparagraph}{5}%
  832.   \z@\z@{-\fontdimen2\font}%
  833.   \normalfont}
  834. \def\appendix{\par\c@section\z@ \c@subsection\z@
  835.    \let\sectionname\appendixname
  836.    \def\thesection{\@Alph\c@section}}
  837. \def\appendixname{Appendix}
  838. \def\@Roman#1{\@xp\@slowromancap
  839.   \romannumeral#1@}%
  840. \def\@slowromancap#1{\ifx @#1% then terminate
  841.   \else
  842.     \if i#1I\else\if v#1V\else\if x#1X\else\if l#1L\else\if
  843.     c#1C\else\if m#1M\else#1\fi\fi\fi\fi\fi\fi
  844.     \@xp\@slowromancap
  845.   \fi
  846. }
  847. \def\aufm#1{\par\vspace*{12pt}{\flushright #1\par}}
  848. \newcommand{\@pnumwidth}{1.6em}
  849. \newcommand{\@tocrmarg}{2.6em}
  850. \setcounter{tocdepth}{1}
  851. \def\@starttoc#1#2{\begingroup
  852.   \par\removelastskip\vskip\z@skip
  853.   \@startsection{}\@M\z@{\linespacing\@plus\linespacing}%
  854.     {.5\linespacing}{\centering\scshape}{#2}%
  855.   \ifx\contentsname#2%
  856.   \else \addcontentsline{toc}{section}{#2}\fi
  857.   \makeatletter
  858.   \@input{\jobname.#1}%
  859.   \if@filesw
  860.     \@xp\newwrite\csname tf@#1\endcsname
  861.     \immediate\@xp\openout\csname tf@#1\endcsname \jobname.#1\relax
  862.   \fi
  863.   \global\@nobreakfalse \endgroup
  864.   \addvspace{32\p@\@plus14\p@}%
  865.   \let\tableofcontents\relax
  866. }
  867. \def\contentsname{Contents}
  868. \def\listfigurename{List of Figures}
  869. \def\listtablename{List of Tables}
  870. \def\tableofcontents{\@starttoc{toc}\contentsname}
  871. \def\listoffigures{\@starttoc{lof}\listfigurename}
  872. \def\listoftables{\@starttoc{lot}\listtablename}
  873. \AtBeginDocument{%
  874.   \@for\@tempa:=-1,0,1,2,3\do{%
  875.     \@ifundefined{r@tocindent\@tempa}{%
  876.       \@xp\gdef\csname r@tocindent\@tempa\endcsname{0pt}}{}%
  877.   }%
  878. }
  879. \def\@writetocindents{%
  880.   \begingroup
  881.   \@for\@tempa:=-1,0,1,2,3\do{%
  882.     \immediate\write\@auxout{%
  883.       \string\newlabel{tocindent\@tempa}{%
  884.         \csname r@tocindent\@tempa\endcsname}}%
  885.   }%
  886.   \endgroup}
  887. \AtEndDocument{\@writetocindents}
  888.  
  889. \let\indentlabel\@empty
  890. \def\@tochangmeasure#1{\sbox\z@{#1}%
  891.   \ifdim\wd\z@>\csname r@tocindent\@toclevel\endcsname\relax
  892.     \@xp\xdef\csname r@tocindent\@toclevel\endcsname{\the\wd\z@}%
  893.   \fi
  894. }
  895. \def\@toclevel{0}
  896. \def\@tocline#1#2#3#4#5#6#7{\relax
  897.   \ifnum #1>\c@tocdepth % then omit
  898.   \else
  899.     \par \addpenalty\@secpenalty\addvspace{#2}%
  900.     \begingroup \hyphenpenalty\@M
  901.     \@ifempty{#4}{%
  902.       \@tempdima\csname r@tocindent\number#1\endcsname\relax
  903.     }{%
  904.       \@tempdima#4\relax
  905.     }%
  906.     \parindent\z@ \leftskip#3\relax \advance\leftskip\@tempdima\relax
  907.     \rightskip\@pnumwidth plus1em \parfillskip-\@pnumwidth
  908.     #5\leavevmode\hskip-\@tempdima #6\relax
  909.     \hfil\hbox to\@pnumwidth{\@tocpagenum{#7}}\par
  910.     \nobreak
  911.     \endgroup
  912.   \fi}
  913. \def\@tocpagenum#1{\hss{\mdseries #1}}
  914. \def\@tocwrite#1{\@xp\@tocwriteb\csname toc#1\endcsname{#1}}
  915. \def\@tocwriteb#1#2#3{%
  916.   \begingroup
  917.     \def\@tocline##1##2##3##4##5##6{%
  918.       \ifnum##1>\c@tocdepth
  919.       \else \sbox\z@{##5\let\indentlabel\@tochangmeasure##6}\fi}%
  920.     \csname l@#2\endcsname{#1{\csname#2name\endcsname}{\@secnumber}{}}%
  921.   \endgroup
  922.   \addcontentsline{toc}{#2}%
  923.     {\protect#1{\csname#2name\endcsname}{\@secnumber}{#3}}}
  924. \def\l@section{\@tocline{1}{0pt}{1pc}{}{}}
  925. \newcommand{\tocsection}[3]{%
  926.   \indentlabel{\@ifnotempty{#2}{\ignorespaces#1 #2.\quad}}#3}
  927. \def\l@subsection{\@tocline{2}{0pt}{1pc}{5pc}{}}
  928. \let\tocsubsection\tocsection
  929. \def\l@subsubsection{\@tocline{3}{0pt}{1pc}{7pc}{}}
  930. \let\tocsubsubsection\tocsection
  931. \def\l@part{\@tocline{-1}{12pt plus2pt}{0pt}{}{\bfseries}}
  932. \let\tocpart\tocsection
  933. \def\l@chapter{\@tocline{0}{8pt plus1pt}{0pt}{}{}}
  934. \let\tocchapter\tocsection
  935. \let\tocappendix\tocchapter
  936. \def\l@figure{\@tocline{0}{3pt plus2pt}{0pt}{}{}}
  937. \let\l@table=\l@figure
  938. \def\refname{References}
  939. \def\bibname{Bibliography}
  940. \def\bibliographystyle#1{%
  941.    \if@filesw\immediate\write\@auxout
  942.     {\string\bibstyle{#1}}\fi
  943.         \def\@tempa{#1}%
  944.         \def\@tempb{amsplain}%
  945.         \def\@tempc{}%
  946.         \ifx\@tempa\@tempb
  947.                 \def\@biblabel##1{##1.}%
  948.                 \def\bibsetup{}%
  949.         \else
  950.                 \def\bibsetup{\labelsep6\p@}%
  951.         \ifx\@tempa\@tempc
  952.                 \def\@biblabel##1{}%
  953.                 \def\bibsetup{\labelwidth\z@ \leftmargin24\p@
  954.                 \itemindent-24\p@
  955.                           \labelsep\z@ }%
  956.         \fi
  957. \fi}
  958. \newenvironment{thebibliography}[1]{%
  959.   \@xp\section\@xp*\@xp{\refname}%
  960.   \normalfont\footnotesize\labelsep .5em\relax
  961.   \renewcommand\theenumiv{\arabic{enumiv}}\let\p@enumiv\@empty
  962.   \list{\@biblabel{\theenumiv}}{\settowidth\labelwidth{\@biblabel{#1}}%
  963.     \leftmargin\labelwidth \advance\leftmargin\labelsep
  964.     \usecounter{enumiv}}%
  965.   \sloppy \clubpenalty\@M \widowpenalty\clubpenalty
  966.   \sfcode`\.=\@m
  967. }{%
  968.   \def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}%
  969.   \endlist
  970. }
  971. \def\bysame{\leavevmode\hbox to3em{\hrulefill}\thinspace}
  972. \def\newblock{}
  973. \newcommand\MR[1]{\relax\ifhmode\unskip\spacefactor3000 \space\fi
  974.   \def\@tempa##1:##2:##3\@nil{%
  975.     \ifx @##2\@empty##1\else\textbf{##1:}##2\fi}%
  976.   \MRhref{#1}{MR \@tempa#1:@:\@nil}}
  977. \newcommand\URL{\begingroup
  978.   \def\@sverb##1{%
  979.     \def\@tempa####1##1{\@URL{####1}\egroup\endgroup}%
  980.     \@tempa}%
  981.   \verb}
  982. \let\URLhref\@gobble
  983. \def\@URL#1{\URLhref{#1}#1}
  984. \newif\if@restonecol
  985. \def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
  986.   \columnseprule\z@ \columnsep 35\p@
  987.   \twocolumn[\@xp\section\@xp*\@xp{\indexname}]%
  988.   \thispagestyle{plain}%
  989.   \let\item\@idxitem
  990.   \parindent\z@  \parskip\z@\@plus.3\p@\relax
  991.   \footnotesize}
  992. \def\indexname{Index}
  993. \def\@idxitem{\par\hangindent 2em}
  994. \def\subitem{\par\hangindent 2em\hspace*{1em}}
  995. \def\subsubitem{\par\hangindent 3em\hspace*{2em}}
  996. \def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi}
  997. \def\indexspace{\par\bigskip}
  998. \def\footnoterule{\kern-.4\p@
  999.         \hrule\@width 5pc\kern11\p@\kern-\footnotesep}
  1000. \def\@makefnmark{\hbox{$\m@th^{\@thefnmark}$}}
  1001. \def\@makefntext{\indent\@makefnmark}
  1002. \long\def\@footnotetext#1{\insert\footins{%
  1003.   \normalfont\footnotesize
  1004.   \interlinepenalty\interfootnotelinepenalty
  1005.   \splittopskip\footnotesep \splitmaxdepth \dp\strutbox
  1006.   \floatingpenalty\@MM \hsize\columnwidth
  1007.   \@parboxrestore \parindent\normalparindent \sloppy
  1008.   \edef\@currentlabel{\p@footnote\@thefnmark}%
  1009.   \@makefntext{\rule\z@\footnotesep\ignorespaces#1\unskip\strut\par}}}
  1010. \hfuzz=1pt \vfuzz=\hfuzz
  1011. \def\sloppy{\tolerance9999 \emergencystretch 3em\relax}
  1012. \setcounter{topnumber}{4}
  1013. \setcounter{bottomnumber}{4}
  1014. \setcounter{totalnumber}{4}
  1015. \setcounter{dbltopnumber}{4}
  1016. \renewcommand{\topfraction}{.97}
  1017. \renewcommand{\bottomfraction}{.97}
  1018. \renewcommand{\textfraction}{.03}
  1019. \renewcommand{\floatpagefraction}{.9}
  1020. \renewcommand{\dbltopfraction}{.97}
  1021. \renewcommand{\dblfloatpagefraction}{.9}
  1022. \setlength{\floatsep}{12pt plus 6pt minus 4pt}
  1023. \setlength{\textfloatsep}{15pt plus 8pt minus 5pt}
  1024. \setlength{\intextsep}{12pt plus 6pt minus 4pt}
  1025. \setlength{\dblfloatsep}{12pt plus 6pt minus 4pt}
  1026. \setlength{\dbltextfloatsep}{15pt plus 8pt minus 5pt}
  1027. \setlength{\@fptop}{0pt}% removed ``plus 1fil''
  1028. \setlength{\@fpsep}{8pt}% removed ``plus 2fil''
  1029. \setlength{\@fpbot}{0pt plus 1fil}
  1030. \setlength{\@dblfptop}{0pt}% removed ``plus 1fil''
  1031. \setlength{\@dblfpsep}{8pt}% removed ``plus 2fil''
  1032. \setlength{\@dblfpbot}{0pt plus 1fil}
  1033. \newcommand{\fps@figure}{tbp}
  1034. \newcommand{\fps@table}{tbp}
  1035. \newcounter{figure}
  1036. \def\@captionheadfont{\scshape}
  1037. \def\@captionfont{\normalfont}
  1038. \def\ftype@figure{1}
  1039. \def\ext@figure{lof}
  1040. \def\fnum@figure{\figurename\ \thefigure}
  1041. \def\figurename{Figure}
  1042. \newenvironment{figure}{%
  1043.   \@float{figure}%
  1044. }{%
  1045.   \end@float
  1046. }
  1047. \newcounter{table}
  1048. \def\ftype@table{2}
  1049. \def\ext@table{lot}
  1050. \def\fnum@table{\tablename\ \thetable}
  1051. \def\tablename{Table}
  1052. \newenvironment{table}{%
  1053.   \@float{table}%
  1054. }{%
  1055.   \end@float
  1056. }
  1057. \def\@floatboxreset{\global\@minipagefalse \centering}
  1058. \long\def\@makecaption#1#2{%
  1059.   \setbox\@tempboxa\vbox{\color@setgroup
  1060.     \advance\hsize-2\captionindent\noindent
  1061.     \@captionfont\@captionheadfont#1\@xp\@ifnotempty\@xp
  1062.         {\@cdr#2\@nil}{.\@captionfont\upshape\enspace#2}%
  1063.     \unskip\kern-2\captionindent\par
  1064.     \global\setbox\@ne\lastbox\color@endgroup}%
  1065.   \ifhbox\@ne % the normal case
  1066.     \setbox\@ne\hbox{\unhbox\@ne\unskip\unskip\unpenalty\unkern}%
  1067.   \fi
  1068.   \ifdim\wd\@tempboxa=\z@ % this means caption will fit on one line
  1069.     \setbox\@ne\hbox to\columnwidth{\hss\kern-2\captionindent\box\@ne\hss}%
  1070.   \else % tempboxa contained more than one line
  1071.     \setbox\@ne\vbox{\unvbox\@tempboxa\parskip\z@skip
  1072.         \noindent\unhbox\@ne\advance\hsize-2\captionindent\par}%
  1073. \fi
  1074.   \ifnum\@tempcnta<64 % if the float IS a figure...
  1075.     \addvspace\abovecaptionskip
  1076.     \moveright\captionindent\box\@ne
  1077.   \else % if the float IS NOT a figure...
  1078.     \moveright\captionindent\box\@ne
  1079.     \nobreak
  1080.     \vskip\belowcaptionskip
  1081.   \fi
  1082. \relax
  1083. }
  1084. \newskip\abovecaptionskip \abovecaptionskip=12pt \relax
  1085. \newskip\belowcaptionskip \belowcaptionskip=12pt \relax
  1086. \newdimen\captionindent \captionindent=3pc
  1087. \RequirePackage{amsthm}[1996/09/24]
  1088. \def\@swapped#1#2{#2%
  1089.   \@ifnotempty{#1}{\@addpunct{.}\quad#1\unskip}}
  1090. \def\thmhead@plain#1#2#3{%
  1091.   \thmname{#1}\thmnumber{\@ifnotempty{#1}{ }\@upn{#2}}%
  1092.   \thmnote{ \textmd{\upshape(#3)}}}
  1093. \def\swappedhead@plain#1#2#3{%
  1094.   \thmnumber{\@upn{#2}}\thmname{\@ifnotempty{#2}{. }#1}%
  1095.   \thmnote{ \textmd{\upshape(#3)}}}
  1096. \def\th@plain{%
  1097.   \let\thm@indent\indent
  1098.   \thm@headfont{\scshape}% heading font small caps
  1099.   \let\thmhead\thmhead@plain \let\swappedhead\swappedhead@plain
  1100.   \thm@preskip.5\baselineskip\@plus.2\baselineskip
  1101.                                     \@minus.2\baselineskip
  1102.   \thm@postskip\thm@preskip
  1103.   \itshape
  1104. }
  1105. \def\th@definition{%
  1106.   \let\thm@indent\indent
  1107.   \thm@headfont{\scshape}% heading font small caps
  1108.   \let\thmhead\thmhead@plain \let\swappedhead\swappedhead@plain
  1109.   \thm@preskip.5\baselineskip\@plus.2\baselineskip
  1110.                                     \@minus.2\baselineskip
  1111.   \thm@postskip\thm@preskip
  1112.   \upshape
  1113. }
  1114. \def\th@remark{%
  1115.   \let\thm@indent\indent
  1116.   \thm@headfont{\scshape}% heading font small caps
  1117.   \let\thmhead\thmhead@plain \let\swappedhead\swappedhead@plain
  1118.   \thm@preskip.5\baselineskip\@plus.2\baselineskip
  1119.                                     \@minus.2\baselineskip
  1120.   \thm@postskip\thm@preskip
  1121.   \upshape
  1122. }
  1123. \renewenvironment{proof}[1][\proofname]{\par \normalfont
  1124.   \topsep6\p@\@plus6\p@ \trivlist \itemindent\normalparindent
  1125.   \item[\hskip\labelsep\scshape
  1126.     #1\@addpunct{.}]\ignorespaces
  1127. }{%
  1128.   \qed\endtrivlist
  1129. }
  1130. \if@compatibility
  1131. \let\@newpf\proof \let\proof\relax \let\endproof\relax
  1132. \newenvironment{pf}{\@newpf[\proofname]}{\qed\endtrivlist}
  1133. \newenvironment{pf*}[1]{\@newpf[#1]}{\qed\endtrivlist}
  1134. \fi
  1135. \def\nonbreakingspace{\unskip\nobreak\ \ignorespaces}
  1136. \def~{\protect\nonbreakingspace}
  1137. \def\@biblabel#1{\@ifnotempty{#1}{[#1]}}
  1138. \def\@cite#1#2{{%
  1139.  \m@th\upshape\mdseries[{\bfseries #1}{\if@tempswa, #2\fi}]}}
  1140. \@ifundefined{cite }{%
  1141.   \expandafter\let\csname cite \endcsname\cite
  1142.   \edef\cite{\@nx\protect\@xp\@nx\csname cite \endcsname}%
  1143. }{}
  1144. \def\fullwidthdisplay{\displayindent\z@ \displaywidth\columnwidth}
  1145. \edef\@tempa{\noexpand\fullwidthdisplay\the\everydisplay}
  1146. \everydisplay\expandafter{\@tempa}
  1147. \newcommand\seename{see also}%
  1148. \newcommand\see[2]{{\em \seename\/} #1}%
  1149. \newcommand\printindex{\@input{\jobname.ind}}%
  1150. \DeclareRobustCommand\textprime{\leavevmode
  1151.   \raise.8ex\hbox{\check@mathfonts\the\scriptfont2 \char48 }}
  1152. \hyphenation{acad-e-my acad-e-mies af-ter-thought anom-aly anom-alies
  1153. an-ti-deriv-a-tive an-tin-o-my an-tin-o-mies apoth-e-o-ses
  1154. apoth-e-o-sis ap-pen-dix ar-che-typ-al as-sign-a-ble as-sist-ant-ship
  1155. as-ymp-tot-ic asyn-chro-nous at-trib-uted at-trib-ut-able bank-rupt
  1156. bank-rupt-cy bi-dif-fer-en-tial blue-print busier busiest
  1157. cat-a-stroph-ic cat-a-stroph-i-cally con-gress cross-hatched data-base
  1158. de-fin-i-tive de-riv-a-tive dis-trib-ute dri-ver dri-vers eco-nom-ics
  1159. econ-o-mist elit-ist equi-vari-ant ex-quis-ite ex-tra-or-di-nary
  1160. flow-chart for-mi-da-ble forth-right friv-o-lous ge-o-des-ic
  1161. ge-o-det-ic geo-met-ric griev-ance griev-ous griev-ous-ly
  1162. hexa-dec-i-mal ho-lo-no-my ho-mo-thetic ideals idio-syn-crasy
  1163. in-fin-ite-ly in-fin-i-tes-i-mal ir-rev-o-ca-ble key-stroke
  1164. lam-en-ta-ble light-weight mal-a-prop-ism man-u-script mar-gin-al
  1165. meta-bol-ic me-tab-o-lism meta-lan-guage me-trop-o-lis
  1166. met-ro-pol-i-tan mi-nut-est mol-e-cule mono-chrome mono-pole
  1167. mo-nop-oly mono-spline mo-not-o-nous mul-ti-fac-eted mul-ti-plic-able
  1168. non-euclid-ean non-iso-mor-phic non-smooth par-a-digm par-a-bol-ic
  1169. pa-rab-o-loid pa-ram-e-trize para-mount pen-ta-gon phe-nom-e-non
  1170. post-script pre-am-ble pro-ce-dur-al pro-hib-i-tive pro-hib-i-tive-ly
  1171. pseu-do-dif-fer-en-tial pseu-do-fi-nite pseu-do-nym qua-drat-ic
  1172. quad-ra-ture qua-si-smooth qua-si-sta-tion-ary qua-si-tri-an-gu-lar
  1173. quin-tes-sence quin-tes-sen-tial re-arrange-ment rec-tan-gle
  1174. ret-ri-bu-tion retro-fit retro-fit-ted right-eous right-eous-ness
  1175. ro-bot ro-bot-ics sched-ul-ing se-mes-ter semi-def-i-nite
  1176. semi-ho-mo-thet-ic set-up se-vere-ly side-step sov-er-eign spe-cious
  1177. spher-oid spher-oid-al star-tling star-tling-ly sta-tis-tics
  1178. sto-chas-tic straight-est strange-ness strat-a-gem strong-hold
  1179. sum-ma-ble symp-to-matic syn-chro-nous topo-graph-i-cal tra-vers-a-ble
  1180. tra-ver-sal tra-ver-sals treach-ery turn-around un-at-tached
  1181. un-err-ing-ly white-space wide-spread wing-spread wretch-ed
  1182. wretch-ed-ly Eng-lish Euler-ian Feb-ru-ary Gauss-ian
  1183. Hamil-ton-ian Her-mit-ian Jan-u-ary Japan-ese Kor-te-weg
  1184. Le-gendre Mar-kov-ian Noe-ther-ian No-vem-ber Rie-mann-ian Sep-tem-ber}
  1185. \def\calclayout{\advance\textheight -\headheight
  1186.   \advance\textheight -\headsep
  1187.   \oddsidemargin\paperwidth
  1188.   \advance\oddsidemargin -\textwidth
  1189.   \divide\oddsidemargin\tw@
  1190.   \ifdim\oddsidemargin<.5truein \oddsidemargin.5truein \fi
  1191.   \advance\oddsidemargin -1truein
  1192.   \evensidemargin\oddsidemargin
  1193.   \topmargin\paperheight \advance\topmargin -\textheight
  1194.   \advance\topmargin -\headheight \advance\topmargin -\headsep
  1195.   \divide\topmargin\tw@
  1196.   \ifdim\topmargin<.5truein \topmargin.5truein \fi
  1197.   \advance\topmargin -1truein\relax
  1198. }
  1199. \calclayout % initialize
  1200. \pagenumbering{arabic}
  1201. \pagestyle{headings}
  1202. \thispagestyle{plain}
  1203. \if@compatibility \else\endinput\fi
  1204. \def\tiny{\Tiny}
  1205. \def\defaultfont{\normalfont}
  1206. \def\rom{\textup}
  1207. \endinput
  1208. %%
  1209. %% End of file `amsproc.cls'.
  1210.